home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh -e
-
- if [ "$1" = "upgrade" -o "$1" = "remove" ]; then
- # Remove any previously installed acpi files
- rm -f /etc/acpi/events/lm_ac_adapter
- rm -f /etc/acpi/events/lm_battery
- rm -f /etc/acpi/events/lm_lid
-
- rm -f /etc/acpi/actions/lm_ac_adapter.sh
- rm -f /etc/acpi/actions/lm_battery.sh
- rm -f /etc/acpi/actions/lm_lid.sh
- rm -f /etc/apm/event.d/laptop-mode
- fi
-
-
-
-